package model

import "time"

type Category struct {
	Id          uint       `json:"id,omitempty"`
	Name        string     `json:"name,omitempty"`
	Icon        string     `json:"icon,omitempty"`
	CreatedTime *time.Time `json:"created_time,omitempty"`
	UpdatedTime *time.Time `json:"updated_time,omitempty"`
	DeletedTime *time.Time `json:"deleted_time,omitempty"`
}

func (c *Category) TableName() string {
	return "category"
}
